T
IdeaBlade DevForce 2010 Help Reference
GetRelatedEntity<T>(EntityRelationLink,QueryStrategy) Method
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityAspect Class > GetRelatedEntity Method : GetRelatedEntity<T>(EntityRelationLink,QueryStrategy) Method



strategy
Returns the related entity via a EntityRelationLink using the specified QueryStrategy.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetRelatedEntity(Of T As Class)( _
   ByVal relationLink As EntityRelationLink, _
   ByVal strategy As QueryStrategy _
) As T
Visual Basic (Usage)Copy Code
Dim instance As EntityAspect
Dim relationLink As EntityRelationLink
Dim strategy As QueryStrategy
Dim value As T
 
value = instance.GetRelatedEntity(Of T)(relationLink, strategy)
C# 
public T GetRelatedEntity<T>( 
   EntityRelationLink relationLink,
   QueryStrategy strategy
)
where T: class
C++/CLI 
public:
T^ GetRelatedEntitygeneric<typename T>
( 
   EntityRelationLink^ relationLink,
   QueryStrategy^ strategy
) 
where T: ref class

Parameters

relationLink
strategy

Type Parameters

T

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.